<script lang="ts" setup></script>

<template name="skeleton">
  <view class="sk-container">
    <scroll-view :refresher-enabled="true" :scroll-y="true" class="scroll-view scroll-view">
      <view is="components/XtxSwiper">
        <view class="carousel XtxSwiper--carousel" style="height: 280rpx">
          <swiper :autoplay="false" :circular="true" :interval="3000" :current="0"></swiper>
          <view class="indicator XtxSwiper--indicator">
            <text class="dot XtxSwiper--dot"></text>
            <text class="dot XtxSwiper--dot"></text>
            <text class="dot XtxSwiper--dot active XtxSwiper--active"></text>
            <text class="dot XtxSwiper--dot"></text>
            <text class="dot XtxSwiper--dot"></text>
          </view>
        </view>
      </view>
      <view is="pages/index/components/ClassifyNav">
        <view class="category ClassifyNav--category">
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-825 sk-text"
              >居家</text
            >
          </navigator>
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-180 sk-text"
              >锦鲤</text
            >
          </navigator>
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-665 sk-text"
              >服饰</text
            >
          </navigator>
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-604 sk-text"
              >母婴</text
            >
          </navigator>
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-519 sk-text"
              >个护</text
            >
          </navigator>
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-852 sk-text"
              >严选</text
            >
          </navigator>
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-551 sk-text"
              >数码</text
            >
          </navigator>
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-33 sk-text"
              >运动</text
            >
          </navigator>
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-694 sk-text"
              >杂项</text
            >
          </navigator>
          <navigator class="category-item ClassifyNav--category-item" hover-class="none">
            <image class="icon ClassifyNav--icon sk-image"></image>
            <text class="text ClassifyNav--text sk-transparent sk-text-14-2857-458 sk-text"
              >品牌</text
            >
          </navigator>
        </view>
      </view>
      <view is="pages/index/components/HotPanel">
        <view class="panel HotPanel--panel hot HotPanel--hot">
          <view class="item HotPanel--item">
            <view class="title HotPanel--title">
              <text
                class="title-text HotPanel--title-text sk-transparent sk-text-14-2857-931 sk-text"
                >特惠推荐</text
              >
              <text
                class="title-desc HotPanel--title-desc sk-transparent sk-text-14-2857-690 sk-text"
                >精选全攻略</text
              >
            </view>
            <navigator class="cards HotPanel--cards" hover-class="none">
              <image class="image HotPanel--image sk-image" mode="aspectFit"></image>
              <image class="image HotPanel--image sk-image" mode="aspectFit"></image>
            </navigator>
          </view>
          <view class="item HotPanel--item">
            <view class="title HotPanel--title">
              <text
                class="title-text HotPanel--title-text sk-transparent sk-text-14-2857-369 sk-text"
                >爆款推荐</text
              >
              <text
                class="title-desc HotPanel--title-desc sk-transparent sk-text-14-2857-941 sk-text"
                >最受欢迎</text
              >
            </view>
            <navigator class="cards HotPanel--cards" hover-class="none">
              <image class="image HotPanel--image sk-image" mode="aspectFit"></image>
              <image class="image HotPanel--image sk-image" mode="aspectFit"></image>
            </navigator>
          </view>
          <view class="item HotPanel--item">
            <view class="title HotPanel--title">
              <text
                class="title-text HotPanel--title-text sk-transparent sk-text-14-2857-834 sk-text"
                >一站买全</text
              >
              <text
                class="title-desc HotPanel--title-desc sk-transparent sk-text-14-2857-470 sk-text"
                >精心优选</text
              >
            </view>
            <navigator class="cards HotPanel--cards" hover-class="none">
              <image class="image HotPanel--image sk-image" mode="aspectFit"></image>
              <image class="image HotPanel--image sk-image" mode="aspectFit"></image>
            </navigator>
          </view>
          <view class="item HotPanel--item">
            <view class="title HotPanel--title">
              <text
                class="title-text HotPanel--title-text sk-transparent sk-text-14-2857-407 sk-text"
                >新鲜好物</text
              >
              <text
                class="title-desc HotPanel--title-desc sk-transparent sk-text-14-2857-300 sk-text"
                >生活加分项</text
              >
            </view>
            <navigator class="cards HotPanel--cards" hover-class="none">
              <image class="image HotPanel--image sk-image" mode="aspectFit"></image>
              <image class="image HotPanel--image sk-image" mode="aspectFit"></image>
            </navigator>
          </view>
        </view>
      </view>
    </scroll-view>
  </view>
</template>

<style scoped>
/*
此文件为开发者工具生成，生成时间: 2025/1/4下午5:05:33

在 D:\Web\小程序\uni-vue3-ts-小兔鲜项目\app\heima-shop\dist\dev\mp-weixin\pages\index\index.wxss 中引入样式
```
@import "./index.skeleton.wxss";
```

更多详细信息可以参考文档：https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
*/
.sk-transparent {
  color: transparent !important;
}
.sk-text-3-5714-378 {
  background-image: linear-gradient(
    transparent 3.5714%,
    #eeeeee 0%,
    #eeeeee 96.4286%,
    transparent 0%
  ) !important;
  background-size: 100% 28rpx;
  position: relative !important;
}
.sk-text {
  background-origin: content-box !important;
  background-clip: content-box !important;
  background-color: transparent !important;
  color: transparent !important;
  background-repeat: repeat-y !important;
}
.sk-text-14-2857-903 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 39.2rpx;
  position: relative !important;
}
.sk-text-14-2857-825 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-180 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-665 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-604 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-519 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-852 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-551 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-33 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-694 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-458 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 36.4rpx;
  position: relative !important;
}
.sk-text-14-2857-931 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 44.8rpx;
  position: relative !important;
}
.sk-text-14-2857-690 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 33.6rpx;
  position: relative !important;
}
.sk-text-14-2857-369 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 44.8rpx;
  position: relative !important;
}
.sk-text-14-2857-941 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 33.6rpx;
  position: relative !important;
}
.sk-text-14-2857-834 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 44.8rpx;
  position: relative !important;
}
.sk-text-14-2857-470 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 33.6rpx;
  position: relative !important;
}
.sk-text-14-2857-407 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 44.8rpx;
  position: relative !important;
}
.sk-text-14-2857-300 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 33.6rpx;
  position: relative !important;
}
.sk-image {
  background: #efefef !important;
}
.sk-pseudo::before,
.sk-pseudo::after {
  background: #efefef !important;
  background-image: none !important;
  color: transparent !important;
  border-color: transparent !important;
}
.sk-pseudo-rect::before,
.sk-pseudo-rect::after {
  border-radius: 0 !important;
}
.sk-pseudo-circle::before,
.sk-pseudo-circle::after {
  border-radius: 50% !important;
}
.sk-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
}
</style>
